package com.anyun.libusbcamera;

import android.graphics.Bitmap;

public class UsbCamera {
    static {
        System.loadLibrary("native-lib");
    }
    /**
     * A native method that is implemented by the 'native-lib' native library,
     * which is packaged with this application.
     */
    public native String stringFromJNI();

    public native int prepareCamera(int videoid, int[] resolution);
    public native int prepareCameraWithBase( int videoid, int videobase, int[] resolution);
    public native int processCamera();
    public native void stopCamera();
    public native void pixeltobmp( Bitmap bitmap);
    public native void rgba(int type,byte[] output);
}
